<script type="text/javascript"
 	src="http://maps.googleapis.com/maps/api/js?key=ABQIAAAAI4CxGfA5vY-1le5zEVqHPBT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRDxsS_nJHxic634p8DHyV8jX3keA&sensor=true">
</script>
<div id='results'>
<% if(typeof(search) != 'undefined') { %>
	<% records = JSON.parse(search) %>
	<%- partial('search.ejs') %>
<%}%>
<% if(typeof(results) != 'undefined') { %>		
	<table>
		<tr>
			<td id="image"></td>
			<td>
			   
				<% if(typeof(results) != 'undefined') { %>	
					<% loc = JSON.parse(results) %>
					<% if(loc.length >=1) { %>
						<%- partial('location.ejs') %>
					<%}%>	
				<%}%>

				<% if(typeof(res) != 'undefined') { %>	
					<% makers = JSON.parse(res) %>
					<% if(makers.length ===1) { %>
						<%- partial('maker.ejs') %>
					<%}%>	
				<%}%>
			</td>
		</tr>
	</table>
	<hr>
	<div id="mapDetail" style="width: 731px; height: 400px;"></div>
	
<%}%>
</div>
